add_custom_target(make-main
        COMMAND make -C ${CMAKE_CURRENT_SOURCE_DIR} main
        WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}
)

add_executable(mainc src/main.c)

#add_test(NAME main COMMAND main a b c)